home *** CD-ROM | disk | FTP | other *** search
- global Verif, Gretour, GcptHelp, Ginit, GpageRetour, Ginitcharme, Gverif
-
- on exitFrame
- rollup(3)
- rollup(5)
- action_sprite(4, 1)
- Verif_saisie()
- affiche_abcd100()
- go(the frameLabel)
- end
-
- on Verif_saisie
- if Verif <> "verif" then
- return
- end if
- set Verif to EMPTY
- set Texte to the text of member "Oui_Non"
- if Texte contains "oui" then
- set GcptHelp to 1
- set Gretour to the frameLabel
- set Ginit to 1
- set GpageRetour to "charme"
- set Gverif to 1
- play frame "hard"
- end if
- if Texte contains "non" then
- set Ginitcharme to 1
- play frame "charme"
- end if
- set the text of member "Oui_Non" to EMPTY
- end
-
- on affiche_abcd100
- if the timer < 30 then
- return
- end if
- startTimer()
- if the visible of sprite 30 = 1 then
- action_sprite(30, 0)
- else
- action_sprite(30, 1)
- end if
- end
-
- on mouseDown
- if rollOver(3) then
- set Verif to "verif"
- end if
- retour_page_charme()
- end
-
- on retour_page_charme
- if rollOver(5) = 0 then
- return
- end if
- set Ginitcharme to 1
- play frame "charme"
- end
-
- on rollup num
- if rollOver(num) = 0 then
- action_sprite(num, 0)
- else
- action_sprite(num, 1)
- end if
- end
-
- on action_sprite num, type
- if the visible of sprite num = type then
- return
- end if
- set the visible of sprite num to type
- updateStage()
- end
-